home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / security / doc / cert_advisories / CA-91:19.AIX.TFTP.Daemon.vulnerability < prev    next >
Encoding:
Text File  |  1991-10-16  |  4.2 KB  |  112 lines

  1. ===========================================================================
  2. CA-91:19                        CERT Advisory
  3.                               October 17, 1991
  4.                         AIX TFTP Daemon Vulnerability
  5.  
  6. ---------------------------------------------------------------------------
  7.  
  8. The Computer Emergency Response Team/Coordination Center (CERT/CC) has
  9. received information concerning a vulnerability in the TFTP daemon in
  10. all versions of AIX for IBM RS/6000 machines.
  11.  
  12. IBM is aware of this problem and a fix is available as apar number "ix22628".
  13. This patch is available for all AIX releases from "GOLD" to the current
  14. release.
  15.  
  16. NOTE: THIS IS AN UPDATED PATCH FROM ONE RECENTLY MADE AVAILABLE and fixes
  17. a security hole in the original patch.  The SCCS id of the correct patch
  18. is tftpd.c 1.13.1.3 (*not* 1.13.1.2 or earlier versions).  This can be 
  19. checked using the following "what" command.
  20.  
  21.     % what /etc/tftpd
  22.     /etc/tftpd:
  23.        56      1.13.1.3  tftpd.c, tcpip, tcpip312 10/10/91 09:01:48
  24.        tftpsubs.c      1.2  com/sockcmd/tftpd,3.1.2,9048312 10/8/89 17:40:55
  25.  
  26. IBM customers may call IBM Support (800-237-5511) and ask that the fix
  27. be shipped to them.  The fix will appear in the upcoming 2009 update
  28. and the next release of AIX.
  29.  
  30. ---------------------------------------------------------------------------
  31.  
  32. I.   Description
  33.  
  34.      Previous versions of tftpd did not provide a method for restricting 
  35.      TFTP access.
  36.  
  37. II.  Impact
  38.  
  39.      If TFTP is enabled at your site, anyone on the Internet can retrieve
  40.      copies of your site's world-readable files, such as /etc/passwd.
  41.  
  42. III. Solution
  43.         
  44.      A. Sites that do not need to allow tftp access should disable it.
  45.     This can be done by editing /etc/inetd.conf and deleting or
  46.     commenting out the tftpd line:
  47.  
  48.     #tftp     dgram     udp    wait    nobody  /etc/tftpd     tftpd -n
  49.  
  50.     and then, as root, restarting inetd with the "refresh" command.
  51.  
  52.         # refresh -s inetd
  53.  
  54.     For more details on starting/stopping tftp, refer to documentation
  55.     for the System Resource Controller (SRC) or the System Management
  56.     Interface Tool (SMIT).
  57.  
  58.      B. Sites that must run tftpd (for example, to support X terminals)
  59.     should obtain and install the above patch AND create a
  60.     /etc/tftpaccess.ctl file to restrict the files that are accessible.
  61.         The /etc/tftpaccess.ctl file should be writable only by root.
  62.     Although the new /etc/tftpaccess.ctl mechanism provides a very general
  63.     capability, the CERT/CC strongly recommends that sites keep this
  64.     control file simple.  For example, the following tftpaccess.ctl file
  65.     is all that is necessary to support IBM X terminals:
  66.  
  67.     # /etc/tftpaccess.ctl
  68.     # By default, all files are restricted if /etc/tftpaccess.ctl exists.
  69.     # Allow access to X terminal files.
  70.     allow:/usr/lpp/x_st_mgr/bin
  71.  
  72.     NOTE: Be CERTAIN to create the /etc/tftpaccess.ctl file.
  73.     If it does not exist then all world-readable files are accessible
  74.     as in the current version of tftpd.
  75.  
  76.         Installation Instructions:
  77.  
  78.         1.  Create an appropriate /etc/tftpaccess.ctl file.
  79.  
  80.         2.  From the directory containing the new tftpd module, issue
  81.             the following commands as root.
  82.         
  83.             # chmod 644 /etc/tftpaccess.ctl
  84.             # chown root.system /etc/tftpaccess.ctl
  85.         # mv /etc/tftpd /etc/tftpd.old
  86.         # cp tftpd /etc
  87.         # chmod 755 /etc/tftpd
  88.         # chown root.system /etc/tftpd
  89.         # refresh -s inetd
  90.  
  91. ---------------------------------------------------------------------------
  92. The CERT/CC wishes to thank Karl Swartz of the Stanford Linear Accelerator
  93. Center for bringing this vulnerability to our attention.
  94. ---------------------------------------------------------------------------
  95.  
  96. If you believe that your system has been compromised, contact CERT/CC via
  97. telephone or e-mail.
  98.  
  99. Computer Emergency Response Team/Coordination Center (CERT/CC)
  100. Software Engineering Institute
  101. Carnegie Mellon University
  102. Pittsburgh, PA 15213-3890
  103.  
  104. Internet E-mail: cert@cert.sei.cmu.edu
  105. Telephone: 412-268-7090 24-hour hotline:
  106.            CERT/CC personnel answer 7:30a.m.-6:00p.m. EST/EDT,
  107.            on call for emergencies during other hours.
  108.  
  109. Past advisories and other computer security related information are available
  110. for anonymous ftp from the cert.sei.cmu.edu (192.88.209.5) system.
  111.  
  112.